home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re Changing Color Lookup Table < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Changing Color Lookup Table in ODF
  2. Sent:        5/24/96 2:13 PM
  3. Received:    5/24/96 2:21 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Dear ODF Team:
  9. >
  10. >I am drawing a color shape that have two slightly different colors. It
  11. >shows OK when my monitor is set to thousands of colors, but the 2 colors
  12. >appear identical when my monitor is set to 256 colors. What is the proper
  13. >way in ODF to make sure the 2 colors will draw in 256 colors mode?
  14. >
  15. >Serge
  16.  
  17. You need to use the Palette manager. ODF has a FW_CPalette object you can 
  18. use but we don't have API to deal with the Macintosh Palette Manager. Has 
  19. far as who owns the palette the answer is the root part. If your are the 
  20. root part you can set the window palette the way you want. If you are 
  21. embedded you should not change it.
  22.  
  23. .......................................................................
  24.  Henri Lamiraux                                      lamiraux@apple.com
  25.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  26. .......................................................................
  27.  
  28.